<script setup>
import {onMounted, toRaw} from "vue";
import {useScoreStore} from "@/store/userStore.js";
let props = defineProps({
  score:[]
})
let onSubmit = ()=>{
  useScoreStore().currentScore.id = {...props.score}.scoreId
  useScoreStore().currentScore.score = {...props.score}.score
}
</script>

<template>
  <!-- The button to open modal -->
  <a href="#my_modal_9" class="btn btn-accent btn-xs" @click="onSubmit">编辑</a>
</template>

<style scoped>

</style>